#ifndef CONFIG_H_INCLUDED
    #include <string>
    #include <vector>

    #define OPTION_ALL        0x0001
    #define OPTION_ONLY_GEOM  0x0002
    #define OPTION_ONLY_ATTR  0x0004

    #define OPTION_ALL_INFO   0x0001
    #define OPTION_TABLE_INFO 0x0002
    #define OPTION_FIELD_LIST 0x0004
    #ifdef WINDOWS
            #define ENDL "\r\n"
    #else
            #define ENDL "\n"
    #endif
    #define ADDMEMSIZE 1048576

    typedef std::string* PString;
    typedef std::string String;

	typedef std::vector<String> StringVector;

    #define CONFIG_H_INCLUDED
    //#define ENABLE_ORACLE

    #define ENABLE_MYSQL
    #define ENABLE_POSTGRESQL

	#define GML_FILESIZE_PARAM 7.0
    #define WKT_FILESIZE_PARAM 1.5
    #define SHP_FILESIZE_PARAM 2.0
    #define DEFAULT_FILESIZE_PARAM 2.0

    #if (defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(_WIN64) || defined(WIN64))
        #ifndef WINDOWS
            #define WINDOWS
        #endif
        //#define CACHE_PATH "\\cache\\"
        #define PATH_SEPERATOR "\\"
        #define CHAR_PATH_SEPERATOR '\\'
		#define MY_SLEEP(milsec) Sleep(milsec)
    #else
        #ifndef LINUX
            #define LINUX
        #endif
        //#define CACHE_PATH "/cache/"
		#define MY_SLEEP(milsec) usleep(milsec * 1000) //usleep using microseconds, but we are need milliseconds * 1000
        #define PATH_SEPERATOR "/"
        #define CHAR_PATH_SEPERATOR '/'
    #endif

#endif
